package com.example.demo1.mapper;

import com.example.demo1.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface TeacherMapper {
    // 1、注册
    Teacher selectTeachName(String tc_name);

    int insertTeach(Teacher teacher);

    // 2、登录
    // 根据用户名查询用户
    Teacher getTeachName(String tc_name);
}
